package org.example.myerp.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.apache.ibatis.annotations.Param;
import org.example.myerp.dto.MakepsDto;
import org.example.myerp.dto.ScdjDto;
import org.example.myerp.pojo.*;


public interface ProductService {
	PageMyself<Producess> ProcessfindByPager(Integer pageNum, Integer pageSize);

	public void updateProcess(Producess process);

	public void insertProcess(Producess process);

	public void delProcess(Integer[] id);

	PageMyself<MakeProcess> makeProByPager(Integer pageNum, Integer pageSize);

	public void addNewMakeProcess(MakepsDto makepsDto);

	PageMyself<ProproSheet> auditProcessfindByPager(Integer pageNum, Integer pageSize);

	public List<DproList> makeProcessSh(Integer pducess_id, Integer proSige_id);

	public void addNewMakeProcessSh(MakepsDto makepsDto);

	PageMyself<ProproSheet> processWuLiaofindByPager(Integer pageNum, Integer pageSize);

	public List<MaterialList> selProcessdesginWuliao(Integer proSige_id);

	public void setProcessWuliao(MakepsDto makepsDto);

	public void updateProcessWucount(DproList dproList);

	public void repalceWuliao(MaterialList materialList);

	public void wcProcessWoLiaoSigin(ProproSheet ProproSheet);

	public PageMyself<ProproSheet> newProcessWiliaoSh(Integer pageNum, Integer pageSize);

	public List<MaterialList> shProcessWuliaoInfo(DproList dproList);

	public void processWuliaoShUpdate(ProproSheet proproSheet);

	public Integer KeNumCount(Integer proSige_id);

	public void updateProcessGxwl(ProproSheet proproSheet);

	public PageMyself<NewPlanDetail> NewPlanAddProductfindByPager(Integer pageNum, Integer pageSize);

	public void addNewPlan(MakepsDto makepsDto);

	public PageMyself<NewPlan> newPlanSh(Integer pageNum, Integer pageSize);

	public List<NewPlanDetail> selNewPlanDetailsh(Integer newpro_id);

	public void okNelPlansh(NewPlan newPlan);

	public void noNelPlansh(Integer newpro_id);

	public PageMyself<NewPlanDetail> selNewPlanByPager(Integer pageNum, Integer pageSize);

	public Integer productPlanAudit(Integer proSige_id);

	public List<PdoProcess> proBaiGongDan(Integer proSige_id);

	public void insertProDisOder(MakepsDto makepsDto);

	public void UpdateNewxsScjh(Integer[] id);

	public PageMyself<ProDisOrder> scjhshfindByPager(Integer pageNum, Integer pageSize);

	public List<PdoProcess> selPdoProcess(Integer scpgd_id);

	public void okshpgd(ProDisOrder proDisOrder);

	public void delPdo(Integer scpgd_id);

	public List<KuCun> selwuliao(Integer proSige_id);

	public PageMyself<ProDisOrder> scdjfindByPager(Integer pageNum, Integer pageSize);

	public List<PdoProcess> scdjselinfo(Integer scpgd_id);

	public List<PdoProcessWuLiao> scdjselinfoWuliao(Integer scpgd_process_id);

	public void scdjUpdate(ScdjDto scdjDto);

	public void scdjUpdatesh(ScdjDto scdjDto);

	public PageMyself<ProDisOrder> spdjshfindByPager(Integer pageNum, Integer pageSize);

	public void updateSjNum(Integer sjnum, Integer scpgd_process_id);

	public void updateSjNum2(Integer sjnum, Integer scpgd_process_id, Integer scpgd_id, Integer proSige_id);

	public Integer selgid(Integer scpgd_process_id);

	public PageMyself<ProDisOrder> SjCxfindByPager(Integer pageNum, Integer pageSize);

	public List<PdoProcess> selscProcess(Integer scpgd_id);

	public PageMyself<ProDisOrder> wcCtfindByPager(Integer pageNum, Integer pageSize);

	public PageMyself<ProproSheet> scgxchfindByPager(Integer pageNum, Integer pageSize);

	public PageMyself<ProproSheet> cpsjbgfindByPager(Integer pageNum, Integer pageSize);

	public List<DproList> cxProducess(Integer pducess_id);

	public  void  replaceProcess(MakepsDto makepsDto);

	public PageMyself<ProproSheet> gxwlcxfindByPager(Integer pageNum, Integer pageSize);

	public List<MaterialList> selreplaceWuliao(MaterialList MaterialList);

	public PageMyself<ProproSheet> gxwlbgfindByPager(Integer pageNum, Integer pageSize);

	public void gswlbgprocess(Integer pducess_id ,Integer processesid);
    public void gxwicxsj(MakepsDto makepsDto);


    public void gxwlbgWang(Integer pducess_id);
	public PageMyself<ProDisOrder> wcCtfindByPagers(Integer pageNum, Integer pageSize);

	public PageMyself<NewPlan> newPlanListfindByPager(Integer pageNum, Integer pageSize);

	public List<NewPlanDetail> selNewPlanDetail(Integer newpro_id);

	public Integer   preProcessNum ( Integer scpgd_id, Integer pucess_gid);


}
